package com.wei.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.springframework.stereotype.Component;

import java.util.Date;

@Data
@Component
@TableName("t_user")
public class UserEntity {
    @TableId(type = IdType.AUTO)
    private Integer id; //id
    private String username; //用户名
    private String pwd; //密码
    private Integer sex; //性别
    private String mobile; //手机号
    private String email;  //邮箱
    private Integer status ; //状态
    private String headUrl ; //头像
    private String activeCode; //激活码
    private Integer score; //分数
    private Date createTime; //创建时间
}
